package com.ruoyi.common.pojo;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: feil.long
 * Date: 2015/3/19
 * Time: 20:53
 * 价格校验请求航段
 */
public class AFareFlightPay implements Serializable {

    private static final long serialVersionUID = -2138297790103798175L;
    /**
     * 到达机场
     */
    protected String arrAirport;

    /**
     * 到达时间
     */
    protected String arrTime;

    /**
     * 航司
     */
    protected String carrier;

    /**
     * 航班号
     */
    protected String code;

    /**
     * 出发机场
     */
    protected String dptAirport;

    /**
     * 出发时间
     */
    protected String dptTime;

    /**
     * 销售仓位
     */
    protected String saleCabinCode;

    /**
     * 儿童仓位
     */
    @JSONField (serialize = false)
    private String childCabin;

    private String adultPnr;

    private String childPnr;

    private boolean codeShare;

    private boolean isMeal;

    private String plantype;

    private int stops;

    private float printPrice;

    public String getArrAirport() {
        return arrAirport;
    }

    public void setArrAirport(String arrAirport) {
        this.arrAirport = arrAirport;
    }

    public String getArrTime() {
        return arrTime;
    }

    public void setArrTime(String arrTime) {
        this.arrTime = arrTime;
    }

    public String getCarrier() {
        return carrier;
    }

    public void setCarrier(String carrier) {
        this.carrier = carrier;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDptAirport() {
        return dptAirport;
    }

    public void setDptAirport(String dptAirport) {
        this.dptAirport = dptAirport;
    }

    public String getDptTime() {
        return dptTime;
    }

    public void setDptTime(String dptTime) {
        this.dptTime = dptTime;
    }

    public String getSaleCabinCode() {
        return saleCabinCode;
    }

    public void setSaleCabinCode(String saleCabinCode) {
        this.saleCabinCode = saleCabinCode;
    }

    public String getChildCabin() {
        return childCabin;
    }

    public void setChildCabin(String childCabin) {
        this.childCabin = childCabin;
    }

    public String getAdultPnr() {
        return adultPnr;
    }

    public void setAdultPnr(String adultPnr) {
        this.adultPnr = adultPnr;
    }

    public String getChildPnr() {
        return childPnr;
    }

    public void setChildPnr(String childPnr) {
        this.childPnr = childPnr;
    }

    public boolean getCodeShare() {
        return codeShare;
    }

    public void setCodeShare(boolean codeShare) {
        this.codeShare = codeShare;
    }

    public int getStops() {
        return stops;
    }

    public void setStops(int stops) {
        this.stops = stops;
    }

    public String getPlantype() {
        return plantype;
    }

    public void setPlantype(String plantype) {
        this.plantype = plantype;
    }

    public boolean getIsMeal() {
        return isMeal;
    }

    public void setIsMeal(boolean isMeal) {
        this.isMeal = isMeal;
    }

    public float getPrintPrice() {
        return printPrice;
    }

    public void setPrintPrice(float printPrice) {
        this.printPrice = printPrice;
    }

    @Override public String toString() {
        return "AFareFlight{" +
                "arrAirport='" + arrAirport + '\'' +
                ", arrTime='" + arrTime + '\'' +
                ", carrier='" + carrier + '\'' +
                ", code='" + code + '\'' +
                ", dptAirport='" + dptAirport + '\'' +
                ", dptTime='" + dptTime + '\'' +
                ", saleCabinCode='" + saleCabinCode + '\'' +
                ", childCabin='" + childCabin + '\'' +
                ", adultPnr='" + adultPnr + '\'' +
                ", childPnr='" + childPnr + '\'' +
                ", codeShare=" + codeShare +
                ", isMeal=" + isMeal +
                ", plantype='" + plantype + '\'' +
                ", stops=" + stops +
                ", printPrice=" + printPrice +
                '}';
    }
}
